<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<meta charset="ISO-8859-1"></meta>
	<title>Inserção de clientes</title>
</h:head>
<h:body>
	
	<form action="/Clientes/ClienteServlet" method="post">

	    <p:panel id="panel" style="margin-bottom:10px;">  
			Codigo: <p:inputText id="codigo" label="codigo" /> <br/>
	
			Nome: <p:inputText id="nome" label="nome" /> <br/>
	
			Telefone: <p:inputText id="telefone" label="telefone" /> <br/>
	
			Endereco: <p:inputText id="endereco" label="endereco" /> <br/>
	
			Tipo de pessoa: <p:selectOneMenu id="tipoPessoa" >  
	            <f:selectItem itemLabel="Selecione" itemValue="" />  
	            <f:selectItem itemLabel="Física" itemValue="F" />  
	            <f:selectItem itemLabel="Juridica" itemValue="J" />  
	        </p:selectOneMenu>   <br/>
	
			CPF/CNPJ: <p:inputText id="cpf" label="CPF" /> <br/>
		</p:panel>
				
		<input type="submit" value="Salvar" />
		
	</form>
</h:body>
</html>